package com.zly.framework.rbac.controller;

import com.zly.framework.rbac.model.vo.Result;
import io.swagger.v3.oas.annotations.Operation;
import io.swagger.v3.oas.annotations.tags.Tag;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;


@RestController
@RequestMapping("/sys")
@Tag(name = "系统提示")
public class SecurityController {
    @Operation(summary = "需要登录")
    @GetMapping("/need/login")
    public Result<Object> needLogin() {
        return Result.ERROR("需要登录");
    }
}
